<?php

namespace App\Http\Requests\Auth;

use App\Http\Requests\AbstractRequest;

class LoginRequest extends AbstractRequest
{

    /**
     * 验证器规则
     *
     * @return array
     */
    public function rules()
    {
        return [
            'login' => 'required|login',
            'password' => 'required|password',
        ];
    }
}
